package com.lyf.scm.common.enums;

/**
 * 单据类型
 *
 * @author wuzhuang
 * @date 2020/07/13
 */
public enum DocumentTypeEnum {
    /**
     * 采购计划
     */
    PP("pp", "采购计划"),
    /**
     * 采购订单
     */
    PO("po", "采购订单"),
    /**
     * 采购预约单
     */
    PA("pa", "采购预约单"),
    /**
     * 采购更正单
     */
    PC("pc", "采购更正单"),
    /**
     * 采购折让单
     */
    PD("pd", "采购折让单");

    private String code;

    private String desc;

    DocumentTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
